package cn.edu.imau.zy.examination.domain;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import cn.edu.imau.zy.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import java.math.BigDecimal;
import cn.edu.imau.zy.common.core.domain.BaseEntity;

/**
 * 试卷考题对象 el_paper_qu
 * 
 * @author xsc
 * @date 2021-04-27
 */

@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("el_paper_qu")
public class ElPaperQu implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 试卷ID */
    @Excel(name = "试卷ID")
    private String paperId;

    /** 题目ID */
    @Excel(name = "题目ID")
    private String quId;

    /** 题目类型 */
    @Excel(name = "题目类型")
    private Long quType;

    /** 是否已答 */
    @Excel(name = "是否已答")
    private Integer answered;

    /** 主观答案 */
    @Excel(name = "主观答案")
    private String answer;

    /** 问题排序 */
    @Excel(name = "问题排序")
    private Long sort;

    /** 单题分分值 */
    @Excel(name = "单题分分值")
    private Long score;

    /** 实际得分(主观题) */
    @Excel(name = "实际得分(主观题)")
    private Long actualScore;

    /** 是否答对 */
    @Excel(name = "是否答对")
    private Integer isRight;


    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();

}
